export  function formatCount(value) {
	if (value >= 10000 && value <= 100000000) {
		value /= 1000;
		return value.toFixed(1) + '万'
	}
	if (value > 100000000) {
		value /= 100000000;
		return value.toFixed(1) + '亿'
	}
	return value;
}



export function formatTime(value) {
	var date = new Date(value);
	return date.getFullYear() + '年' + (date.getMonth() + 1) + '月' + date.getDate() + '日'
}


export function formatTimeToSecond(time){
	let arr = time.split(':')
	return (Number(arr[0]*60) + Number(arr[1])).toFixed(1);
}